package com.j1903.controller;

import com.j1903.util.JsonResult;
import com.j1903.util.SendSms;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sms")
public class SendSmsController {
    @RequestMapping("/send")
        public JsonResult send(){
        String rs = SendSms.send();
        return new JsonResult(200,"发送成功",rs);
        }
}
